package excercise;

public class EX16 {
	
	
	
	public static void main(String[] args) {
		
		int n = 1;
		int k = 2;
		int r = n;
		
		if(k < n) r = k;
		
		System.out.println(r);		//1
		
		
		int e;
		
		if(n < k){
			
			e = k;
			
		}else e = k + n;
		
		System.out.println(e);		//2
		
		
		int t = k;
		
		if(r < k){
			
			t = r;
			
		}else k = n;
		
		System.out.println(t);		//1
		System.out.println(k);		//2
		
		
		int y = 3;
		
		if(y < n + k){
			
			y = 2 * n;
			
		}else k = 2 * y;
		
		System.out.println(y);		//3
		System.out.println(k);		//6
		
		
	}

}
